package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.pojo.Role;

import java.util.List;
import java.util.Map;

/**
 * @author liam
 * @description
 * @date 2020/3/8-15:18
 * @Version 1.0.0
 */
public interface RoleService {

    List<Role> findAll();


    PageResult findPage(QueryPageBean queryPageBean);

    void add(Role role);

    Map findById4Edit(Integer id);

}

